<?php
ini_set('memory_limit', "32M");
$url_page = "http://www.naildesign-leipzig.de";
define("HOME_URL", $url_page);
$url_path = $_SERVER['DOCUMENT_ROOT']; //serverside path to website
define("HOME_PATH", $url_path);

$contact_email = "s.frey@naildesign-leipzig.de";

$title = "Nageldesign Fu&szlig;pflege Manik&uuml;re Pedik&uuml;re - Naildesign-leipzig.de";
$keywords = "nailDESIGN-Leipzig.de,Nageldesign,Nagel,Naegel,Leipzig,Nagelstudio,Studio,Nagel-Studio,Studio-Leipzig,Nageldesign-Leipzig,Nagelkunst,Nagel-Kunst";
$description = "Ihr Studio f&uuml;r Manik&uuml;re, Nagel-Design, Pedik&uuml;re und Fu&szlig;pflege in Leipzig";
$project_name = "nailDESIGN-Leipzig.de";
$author_name = "Sabine Frey";

define("REDIRECT_URL", rawurlencode($_SERVER['REQUEST_URI']));

define("SMARTY_DIR", HOME_PATH . "/includes/Smarty/libs/");
require(SMARTY_DIR . "Smarty.class.php");

$smarty = new Smarty();
$smarty->template_dir = SMARTY_DIR . "../../../templates/";
$smarty->compile_dir = SMARTY_DIR . "../templates_c/";
$smarty->config_dir = SMARTY_DIR . "../configs/";
$smarty->cache_dir = SMARTY_DIR . "../cache/";
#$smarty->caching = true;

$smarty->left_delimiter = "<{";
$smarty->right_delimiter = "}>";
#$smarty->debugging = true;

$smarty->assign("HOME_URL", HOME_URL . "/");
$smarty->assign("script_name", $_SERVER['SCRIPT_NAME']);
$smarty->assign("title", $title);
if (ereg("index.php", $_SERVER['SCRIPT_NAME'])) {
    $smarty->assign("keywords", $keywords);
    $smarty->assign("description", $description);
}
$smarty->assign("redirect_url", REDIRECT_URL);
$smarty->assign("author_name", $author_name);
$smarty->assign("project_name", $project_name);

define("DB_HOST", "localhost");
define("DB_USER", "d010c816");
define("DB_PASS", "LS8HSe9dHb3f2HSD");
define("DB_DATABASE", "d010c816");
include("includes/classes/Mysql.php");
$db = & new Mysql(DB_HOST, DB_USER, DB_PASS, DB_DATABASE);
?>